# -*- coding: utf-8 -*-
# Author   : ZhangQing
# Time     : 2025-01-19 10:44
# File     : start.py
# Project  : crawl-annual-reports
# Desc     :

from scrapy import cmdline
import os, sys

MODULE_PATH = os.path.abspath(os.path.join(os.path.dirname(__file__), "../"))
print('MODULE_PATH:{}'.format(MODULE_PATH))
if MODULE_PATH not in sys.path:
    sys.path.append(MODULE_PATH)


cmdline.execute("scrapy crawl example".split())

# cmdline.execute("scrapy crawl download_files_spider".split())